<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>成功</title>
<link rel="stylesheet" href="__STATIC__/msg/css/style.css" type="text/css" charset="utf-8" />
<script type="text/javascript">
	var num=<?=$duration?>;
	var url = "<?=$url?>";
	function redirect(){
		num--;
		document.getElementById("num").innerHTML=num;
		if(num<0){
			document.getElementById("num").innerHTML=0;
				if(url){
					location.href=url;
				}else{
					window.history.back();
				}
			}
		}
	setInterval("redirect()", 1000);
</script>
</head>

<body onLoad="redirect();">

<div class="b">
		<span class="bg bg-1">
			
		</span>
		<div class="b3">
			<p class="b3-1">
				<?=$msg?>!
			</p>
			<p class="b3-2">页面将在<span id="num"></span>秒后自动跳转</p>
		</div>
		<span class="b2 clearfix">
			<a class="b2-a2" href="<?=url('admin/Index/systemIndex')?>">返回首页</a>
			<?php if($url){ ?>
			<a class="b2-a3" href="<?=$url?>">立即跳转</a>
			<?php }else{ ?>
			<a class="b2-a3" href="#" onclick="window.history.back(-1)">立即跳转</a>
			<?php } ?>
		</span>
	</div>

</body>
</html>
